package com.monitor.action.user;

import com.monitor.action.MonitorActionSupport;
import com.monitor.service.SmsMotionService;

public class SmsMotionAction extends MonitorActionSupport {

	private static final long serialVersionUID = -3421016173647065572L;
	private long uid;
	private long msgId;
	private long clientMsgId;
	private SmsMotionService smsMotionService;

	public void addSmsMotion() throws Exception {
		if (uid > 0 && msgId > 0 && clientMsgId > 0) {
			smsMotionService.addSmsMotion(msgId, clientMsgId, uid);
		}
	}

	public long getUid() {
		return uid;
	}

	public void setUid(long uid) {
		this.uid = uid;
	}

	public long getMsgId() {
		return msgId;
	}

	public void setMsgId(long msgId) {
		this.msgId = msgId;
	}

	public long getClientMsgId() {
		return clientMsgId;
	}

	public void setClientMsgId(long clientMsgId) {
		this.clientMsgId = clientMsgId;
	}

	public SmsMotionService getSmsMotionService() {
		return smsMotionService;
	}

	public void setSmsMotionService(SmsMotionService smsMotionService) {
		this.smsMotionService = smsMotionService;
	}

}
